package com.yirui.serialcomm.core.domain;

/**
 * @author Dujie
 * @create 2025/8/13
 * @since 1.0.0
 */
public interface SerialCommPacket {
    StreamType getType();

    byte[] getData();

    int getSize();

    void setData(byte[] data);
}
